import {
    Autocomplete,
    Avatar,
    Aside,
    Button,
    Cascader,
    Col,
    Checkbox,
    CheckboxGroup,
    Container,
    DatePicker,
    Drawer,
    Dropdown,
    DropdownItem,
    DropdownMenu,
    Dialog,
    Form,
    FormItem,
    Header,
    Main,
    MessageBox,
    Message,
    Menu,
    MenuItem,
    MenuItemGroup,
    Submenu,
    Icon,
    Image,
    Input,
    Link,
    Radio,
    RadioButton,
    RadioGroup,
    Select,
    Switch,
    Statistic,
    Carousel,
    CarouselItem,
    Progress,
    Breadcrumb,
    BreadcrumbItem,
    Table,
    Tabs,
    TabPane,
    TableColumn,
    Tag,
    TimePicker,
    Tooltip,
    Tree,
    Empty,
    Pagination,
    Popconfirm,
    CollapseItem,
    Collapse,
    Option,
    Upload,
} from 'element-ui';

const elementUI = {
    install: function (Vue) {
        Vue.use(Autocomplete)
        Vue.use(Aside)
        Vue.use(Avatar)
        Vue.use(Button)
        Vue.use(Cascader)
        Vue.use(Checkbox)
        Vue.use(CheckboxGroup)
        Vue.use(Col)
        Vue.use(Container)
        Vue.use(DatePicker)
        Vue.use(Drawer)
        Vue.use(Dropdown)
        Vue.use(DropdownItem)
        Vue.use(DropdownMenu)
        Vue.use(Dialog)
        Vue.use(Form)
        Vue.use(FormItem)
        Vue.use(Header)
        Vue.use(Main)
        Vue.use(Menu)
        Vue.use(MenuItem)
        Vue.use(MenuItemGroup)
        Vue.use(Radio)
        Vue.use(RadioButton)
        Vue.use(RadioGroup)
        Vue.use(Select)
        Vue.use(Statistic)
        Vue.use(Submenu)
        Vue.use(Switch)
        Vue.use(Icon)
        Vue.use(Image)
        Vue.use(Input)
        Vue.use(Link)
        Vue.use(Carousel)
        Vue.use(CarouselItem)
        Vue.use(Progress)
        Vue.use(Breadcrumb)
        Vue.use(BreadcrumbItem)
        Vue.use(Table)
        Vue.use(TableColumn)
        Vue.use(Tabs)
        Vue.use(TabPane)
        Vue.use(Tag)
        Vue.use(TimePicker)
        Vue.use(Tooltip)
        Vue.use(Tree)
        Vue.use(Empty)
        Vue.use(Pagination)
        Vue.use(Popconfirm)
        Vue.use(CollapseItem)
        Vue.use(Collapse)
        Vue.use(Option)
        Vue.use(Upload)


        Vue.prototype.$msgbox = MessageBox
        Vue.prototype.$message = Message
        Vue.prototype.$confirm = MessageBox.confirm
    }
}

export default elementUI